package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @ClassName Starter
 * @Description: TODO
 * @Author lxc
 * @Date 2020/9/6 16:22
 * @Version V1.0
 **/
@SpringBootApplication
public class Starter extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(Starter.class);
    }
    public static void main(String[] args) {
        SpringApplication.run(Starter.class,args);
    }
}
